home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / cgeev.z / cgeev
Encoding:
Text File  |  2002-10-03  |  5.7 KB  |  199 lines

  1.  
  2.  
  3.  
  4. CCCCGGGGEEEEEEEEVVVV((((3333SSSS))))                                                            CCCCGGGGEEEEEEEEVVVV((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CGEEV - compute for an N-by-N complex nonsymmetric matrix A, the
  10.      eigenvalues and, optionally, the left and/or right eigenvectors
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CGEEV( JOBVL, JOBVR, N, A, LDA, W, VL, LDVL, VR, LDVR, WORK,
  14.                        LWORK, RWORK, INFO )
  15.  
  16.          CHARACTER     JOBVL, JOBVR
  17.  
  18.          INTEGER       INFO, LDA, LDVL, LDVR, LWORK, N
  19.  
  20.          REAL          RWORK( * )
  21.  
  22.          COMPLEX       A( LDA, * ), VL( LDVL, * ), VR( LDVR, * ), W( * ),
  23.                        WORK( * )
  24.  
  25. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  26.      These routines are part of the SCSL Scientific Library and can be loaded
  27.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  28.      directs the linker to use the multi-processor version of the library.
  29.  
  30.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  31.      4 bytes (32 bits). Another version of SCSL is available in which integers
  32.      are 8 bytes (64 bits).  This version allows the user access to larger
  33.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  34.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  35.      only one of the two versions; 4-byte integer and 8-byte integer library
  36.      calls cannot be mixed.
  37.  
  38. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  39.      CGEEV computes for an N-by-N complex nonsymmetric matrix A, the
  40.      eigenvalues and, optionally, the left and/or right eigenvectors. The
  41.      right eigenvector v(j) of A satisfies
  42.                       A * v(j) = lambda(j) * v(j)
  43.      where lambda(j) is its eigenvalue.
  44.      The left eigenvector u(j) of A satisfies
  45.                    u(j)**H * A = lambda(j) * u(j)**H
  46.      where u(j)**H denotes the conjugate transpose of u(j).
  47.  
  48.      The computed eigenvectors are normalized to have Euclidean norm equal to
  49.      1 and largest component real.
  50.  
  51.  
  52. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  53.      JOBVL   (input) CHARACTER*1
  54.              = 'N': left eigenvectors of A are not computed;
  55.              = 'V': left eigenvectors of are computed.
  56.  
  57.      JOBVR   (input) CHARACTER*1
  58.              = 'N': right eigenvectors of A are not computed;
  59.              = 'V': right eigenvectors of A are computed.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCGGGGEEEEEEEEVVVV((((3333SSSS))))                                                            CCCCGGGGEEEEEEEEVVVV((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      N       (input) INTEGER
  75.              The order of the matrix A. N >= 0.
  76.  
  77.      A       (input/output) COMPLEX array, dimension (LDA,N)
  78.              On entry, the N-by-N matrix A.  On exit, A has been overwritten.
  79.  
  80.      LDA     (input) INTEGER
  81.              The leading dimension of the array A.  LDA >= max(1,N).
  82.  
  83.      W       (output) COMPLEX array, dimension (N)
  84.              W contains the computed eigenvalues.
  85.  
  86.      VL      (output) COMPLEX array, dimension (LDVL,N)
  87.              If JOBVL = 'V', the left eigenvectors u(j) are stored one after
  88.              another in the columns of VL, in the same order as their
  89.              eigenvalues.  If JOBVL = 'N', VL is not referenced.  u(j) =
  90.              VL(:,j), the j-th column of VL.
  91.  
  92.      LDVL    (input) INTEGER
  93.              The leading dimension of the array VL.  LDVL >= 1; if JOBVL =
  94.              'V', LDVL >= N.
  95.  
  96.      VR      (output) COMPLEX array, dimension (LDVR,N)
  97.              If JOBVR = 'V', the right eigenvectors v(j) are stored one after
  98.              another in the columns of VR, in the same order as their
  99.              eigenvalues.  If JOBVR = 'N', VR is not referenced.  v(j) =
  100.              VR(:,j), the j-th column of VR.
  101.  
  102.      LDVR    (input) INTEGER
  103.              The leading dimension of the array VR.  LDVR >= 1; if JOBVR =
  104.              'V', LDVR >= N.
  105.  
  106.      WORK    (workspace/output) COMPLEX array, dimension (LWORK)
  107.              On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
  108.  
  109.      LWORK   (input) INTEGER
  110.              The dimension of the array WORK.  LWORK >= max(1,2*N).  For good
  111.              performance, LWORK must generally be larger.
  112.  
  113.              If LWORK = -1, then a workspace query is assumed; the routine
  114.              only calculates the optimal size of the WORK array, returns this
  115.              value as the first entry of the WORK array, and no error message
  116.              related to LWORK is issued by XERBLA.
  117.  
  118.      RWORK   (workspace) REAL array, dimension (2*N)
  119.  
  120.      INFO    (output) INTEGER
  121.              = 0:  successful exit
  122.              < 0:  if INFO = -i, the i-th argument had an illegal value.
  123.              > 0:  if INFO = i, the QR algorithm failed to compute all the
  124.              eigenvalues, and no eigenvectors have been computed; elements and
  125.              i+1:N of W contain eigenvalues which have converged.
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. CCCCGGGGEEEEEEEEVVVV((((3333SSSS))))                                                            CCCCGGGGEEEEEEEEVVVV((((3333SSSS))))
  137.  
  138.  
  139.  
  140. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  141.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  142.  
  143.      This man page is available only online.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.